<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="resource/js/jquery-2.0.3.js"></script>
</head>
<body>
	<h1>测试的JSP</h1>
	<div id="div1"></div>
	<div>
	${hashMap}<br>
	<c:forEach items="${hashMap}" var="map">
	  <c:out value="${map.key }"></c:out>
	  <c:out value="${map.value }"></c:out>
	  
	  <c:forEach items="${map.key }" var="keys">
	     <c:out value="${keys }"></c:out>
	  </c:forEach>
	  
	  </c:forEach>
	
	
	</div>
	
	
	
	<script type="text/javascript">
		$.ajax({
			"url": "AttendanceServlet?op=GetAttendanceByDate",
			"type": "get",
			"dataType": "json",
			"success": function(json){
				console.log(json);
				//$("#div1").html(json[0].position);
			}
		});
	</script>
</body>
</html>